package Code.Day3_20240920.com.dx.day03.UserSystem;

/**
 * @ClassName VipUser
 * @Description VIP用户, 必须执行密码强度验证
 * @Author 12994
 * @Date 2024/9/20 16:06
 * @Version 1.0
 **/
public final class VipUser extends NormalUser {
    public VipUser(int userId, String userName, String userPwd, String phoneNumber) {
        super(userId, userName, userPwd, phoneNumber);
    }

//    @Override
//    protected boolean isPwdLegal() {
//        return super.isPwdLegal();
//    }

    @Override
    protected void showInfo() {
        System.out.printf("您是VIP用户! 用户编号: %d, 登录名: %s\n", this.getUserId(), this.getUserName());
    }
}
